package com.buba.springcloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.buba.springcloud.pojo.Document;
import com.buba.springcloud.pojo.Video;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Service
public interface IVideoService extends IService<Video> {

    /**
     * 上传视频
     */
    String upload(MultipartFile mf, Integer userId);

    /**
     * 获取文档列表
     */
    List<Video> selectList(Integer userId);

    Video detailByName(String name);
}
